<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <iframe width="100%" style="height: 100vh;" frameborder="0" allowfullscreen=""
    src="http://192.168.0.104:5173/fullCalendar">
  </iframe>
  <script>
    window.addEventListener('load', function (e) {
      console.log(123123);
      const handleEvent = (e) => {
        console.log('接受消息', e.data);
      }
      window.addEventListener('message', handleEvent)
    })
  </script>
</body>

</html>